package com.ambimmort.shj.action.dpi.users.group.ipuser;

import com.ambimmort.shj.service.dpi.users.group.IpuserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by Administrator on 2015/7/30.
 */
@Controller("/action/dpium/group/ipuser/delete.do")
public class Delete {

    @Autowired
    private IpuserService ipuserService;

    @RequestMapping("/action/dpium/group/ipuser/delete.do")
    @ResponseBody
    public String action_DpiUsersGroupIpUserDelete(HttpServletRequest request, @RequestParam("json") String json, @RequestParam("groupId") String groupId, @RequestParam("instanceName") String instanceName) throws Throwable {


        return ipuserService.ipUserDelete( json , groupId, instanceName);

    }

}
